var friendsLst = function(that,data){
	return new Promise((resolve, reject) => {
		that.$util.sendRequest(that,"im.friends.lst","POST",0,data).then(res=>{resolve(res)}).catch(err=>{reject(err)});
	});
};
var search = function(that,data){
	return new Promise((resolve, reject) => {
		that.$util.sendRequest(that,"im.contact.search","POST",0,data).then(res=>{resolve(res)}).catch(err=>{reject(err)});
	});
};
module.exports = {
	friendsLst:friendsLst,
	search:search
}